# Using IBM DB2 for LUW as a source

This section describes how to set up connectivity to the IBM DB2 for LUW database defined as the source endpoint for the Replicate task. This is required if you want to discover the tables and/or views from the source database as opposed to the landing zone. For a list of the pros and cons of each method, see [Discovering the Source Database or Landing Zone](https://help.qlik.com/en-US/compose/December2024/Content/ComposeDWDL/Main/DW/Model/discover_source_database_or_landing_area.htm).

It contains the following topics:

* [Prerequisites](https://help.qlik.com/en-US/compose/December2024/Content/ComposeDWDL/Main/DW/Data%20Source%20Connections/prerequisites_ibm_db2_source.htm#ar_source_endpoints_1764328586_beihdeej)
* [IBM DB2 for LUW data types](https://help.qlik.com/en-US/compose/December2024/Content/ComposeDWDL/Main/DW/Data%20Source%20Connections/data_types_ibm_db2_source.htm#ar_source_endpoints_1764328586_beibfbhh)
* [Defining the connection parameters](https://help.qlik.com/en-US/compose/December2024/Content/ComposeDWDL/Main/DW/Data%20Source%20Connections/define_connection_parameters_ibm_db2_source.htm#ar_source_endpoints_1764328586_beijhebf)